package com.demo.dao.sys.entity;

import com.demo.common.constant.api.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)  //添加之后就可以在生成equals/hashCode方法时包含其父类的属性
public class SysUserItem extends BaseEntity {
    private Long id;
    private String nick;
    private String password;
    private String cname;
    private String icon;
    private Byte sex;
    private String email;
    private String telephone;
    private String messenger;
    private Long positionId;
    private Long departmentId;
    private Long companyId;
    private String employeeCode;
    private Long userStatusId;
    private Long roleId;
    private Integer privilege;
    private String sortCode;
}
